<script setup lang="ts">
// This starter template is using Vue 3 <script setup> SFCs
// Check out https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup
// <HelloWorld msg="Hello Vue 3 + TypeScript + Vite" />
// import HelloWorld from "./components/HelloWorld.vue";
import { onMounted } from '@vue/runtime-core'
import { horse } from 'horsejs.org'
import BodyVue from './components/Body.vue'
import TitleBarVue from './components/TitleBar.vue'

onMounted(async () => {
  //1880,1300 todo
  await horse.window.maximize()
  await horse.window.openDevTool()
  window.addEventListener('contextmenu', (e) => e.preventDefault())
})
</script>

<template>
  <TitleBarVue />
  <BodyVue />
</template>
